package com.chb.controller;

import com.chb.model.entity.Shopkeeperchange;
import com.chb.model.vo.Result;
import com.chb.service.TransferService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：张家琪
 * @date ：Created in 2023/10/12 12:08
 * @description：
 * @modified By：
 * @version:
 */
@RestController
@RequestMapping("/transferco")
public class TransferController {
    @Autowired
    private TransferService transferService;
    @RequestMapping("/list")
    public Result list(Integer currentPage,Integer pageSize,String[] time){
//        for(String t:time){
//            System.out.println(t+"=====================================");
//        }
        Result result = transferService.transferInfo(currentPage,pageSize,time);
        return result;
    }
}